go.pact.im/x/zapjournal.varsEncoder.buf (field)
56 uses
go.pact.im/x/zapjournal (current package)
encoder.go#L44: buf []byte
encoder.go#L69: e.buf = appendVarName(e.buf, e.prefix, name)
encoder.go#L71: e.buf = append(e.buf, '=')
encoder.go#L74: e.buf = append(e.buf, '\n')
encoder.go#L75: e.hdr = len(e.buf)
encoder.go#L76: e.buf = append(e.buf, make([]byte, hdrLen)...)
encoder.go#L83: size := uint64(len(e.buf) - e.hdr - hdrLen)
encoder.go#L84: binary.LittleEndian.PutUint64(e.buf[e.hdr:], size)
encoder.go#L87: e.buf = append(e.buf, '\n')
encoder.go#L96: e.buf = append(e.buf, value...)
encoder.go#L103: e.buf = append(e.buf, value...)
encoder.go#L110: e.buf = append(e.buf, value...)
encoder.go#L116: e.buf = strconv.AppendBool(e.buf, value)
encoder.go#L130: e.buf = strconvAppendComplex(e.buf, value, 'g', -1, bitSize)
encoder.go#L148: e.buf = strconv.AppendFloat(e.buf, value, 'g', -1, bitSize)
encoder.go#L158: e.buf = strconv.AppendInt(e.buf, value, 10)
encoder.go#L180: e.buf = strconv.AppendUint(e.buf, value, 10)
encoder.go#L198: e.buf = strconvAppendUintptr(e.buf, value)
encoder.go#L204: e.buf = value.AppendFormat(e.buf, time.RFC3339Nano)
encoder.go#L210: buf := bytes.NewBuffer(e.buf)
encoder.go#L214: e.buf = buf.Bytes()
encoder.go#L217: e.buf = e.buf[:len(e.buf)-1]
pool.go#L17: buf: make([]byte, 0, pooledBufferCapacity),
pool.go#L19: e.json.bufp = &e.buf
pool.go#L34: if cap(e.buf) != pooledBufferCapacity {
pool.go#L38: e.buf = e.buf[:0]
pool.go#L46: if cap(e.buf) != pooledBufferCapacity {
pool.go#L47: buf := make([]byte, len(e.buf), cap(e.buf))
pool.go#L48: _ = copy(buf, e.buf)
pool.go#L53: buf: buf,
pool.go#L58: clone.buf = clone.buf[:len(e.buf)]
pool.go#L59: _ = copy(clone.buf, e.buf)
zapjournal_linux.go#L68: _, _, err := c.conn.WriteMsgUnix(enc.buf, nil, socketAddr)
zapjournal_linux.go#L84: if _, err := f.Write(enc.buf); err != nil {